package com.feicheng.lanniao.service;

import com.feicheng.lanniao.entity.Car;
import com.feicheng.lanniao.result.ResultInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>   
 *
 * @author feichengTech
 * @since 2021-09-02
 */
public interface ICarService extends IService<Car> {

	ResultInfo deleteCarById(Integer carId);
	
	ResultInfo updateCar(Car car);
	
	ResultInfo selectCarById(Integer carId);

	ResultInfo carList(String searchKye,Integer conditionId, Integer mileageId, Integer brandId, Integer sellPriceId,Integer rentalPriceId ,Integer currentPage,
			Integer pageSize);

	ResultInfo getCarinfo();
	
	ResultInfo addCarInfo(Car car);
	
}